﻿using STHPMS1.ICore.I_Entity;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_DAL.Repository
{
    public interface IDf_Main_CostRepository : IDal
    {

        /// <summary>
        /// 获取路网的所有决策路段
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="roadnetname">路网名称</param>
        /// <returns></returns>
        List<T> GetDivi<T>(string roadnetname) where T : class,IDn_Divi_Planning;

        /// <summary>
        /// 获取路网的所有决策路段
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="roadnetname">路网名称</param>
        /// <returns></returns>
        List<T> GetDivi<T>(string anniname, string Analy_Year) where T : class,IDn_Divi_Planning;
    }
}
